package com.site.wisdom_construction.entity.personnelModule;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.sql.Date;

/**
 * @Description  
 * @Author  DYF
 * @Date 2022-04-18 
 */
@ApiModel (value ="入岗教育安全生产承诺书记录表实体类", description = "EducationUndertakingRecord")
public class EducationUndertakingRecord {
	/**
	 * 入岗教育安全承诺书记录表ID
	 */
   	@ApiModelProperty(value = "入岗教育安全生产承诺书记录表ID", name = "id")
	private Integer id;

	/**
	 * 项目ID
	 */
   	@ApiModelProperty(value = "项目ID", name = "projectId")
	private Integer projectId;

	/**
	 * 安全承诺书ID
	 */
   	@ApiModelProperty(value = "入岗教育安全生产承诺书ID", name = "educationUndertakingId")
	private Integer educationUndertakingId;

	/**
	 * 安全承诺书ID
	 */
	@ApiModelProperty(value = "入岗教育安全生产承诺书名称", name = "educationUndertakingName")
	private String educationUndertakingName;

	/**
	 * 教育人负责人ID
	 */
	@ApiModelProperty(value = "教育人负责人ID", name = "managerialId")
	private Integer managerialId;

	/**
	 * 教育人负责人姓名
	 */
	@ApiModelProperty(value = "教育人负责人姓名", name = "managerialName")
	private String managerialName;

	/**
	 * 工人姓名
	 */
	@ApiModelProperty(value = "工人姓名", name = "workerName")
	private String workerName;

	/**
	 * 工人身份证号
	 */
	@ApiModelProperty(value = "工人身份证号", name = "workerCard")
	private String workerCard;

	/**
	 * 交底人签名
	 */
   	@ApiModelProperty(value = "交底人签名", name = "disclosure_person_signature")
	private String disclosurePersonSignature;

	/**
	 * 签订时间
	 */
   	@ApiModelProperty(value = "签订时间", name = "disclosure_date")
	@JsonFormat(timezone = "GMT+8", pattern ="yyyy-MM-dd")
	private Date disclosureDate;

	/**
	 * 全部内容
	 */
   	@ApiModelProperty(value = "全部内容", name = "entire_content")
	private String entireContent;

	/**
	 * 最后修改时间
	 */
   	@ApiModelProperty(value = "最后修改时间", name = "update_date")
	@JsonFormat(timezone = "GMT+8", pattern ="yyyy-MM-dd")
	private Date updateDate;

	public EducationUndertakingRecord(){ super(); }

	public EducationUndertakingRecord(Integer id, Integer projectId, Integer educationUndertakingId, String educationUndertakingName, Integer managerialId, String managerialName, String workerName, String workerCard, String disclosurePersonSignature, Date disclosureDate, String entireContent, Date updateDate) {
		this.id = id;
		this.projectId = projectId;
		this.educationUndertakingId = educationUndertakingId;
		this.educationUndertakingName = educationUndertakingName;
		this.managerialId = managerialId;
		this.managerialName = managerialName;
		this.workerName = workerName;
		this.workerCard = workerCard;
		this.disclosurePersonSignature = disclosurePersonSignature;
		this.disclosureDate = disclosureDate;
		this.entireContent = entireContent;
		this.updateDate = updateDate;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getProjectId() {
		return projectId;
	}

	public void setProjectId(Integer projectId) {
		this.projectId = projectId;
	}

	public Integer getEducationUndertakingId() {
		return educationUndertakingId;
	}

	public void setEducationUndertakingId(Integer educationUndertakingId) {
		this.educationUndertakingId = educationUndertakingId;
	}

	public String getEducationUndertakingName() {
		return educationUndertakingName;
	}

	public void setEducationUndertakingName(String educationUndertakingName) {
		this.educationUndertakingName = educationUndertakingName;
	}

	public Integer getManagerialId() {
		return managerialId;
	}

	public void setManagerialId(Integer managerialId) {
		this.managerialId = managerialId;
	}

	public String getManagerialName() {
		return managerialName;
	}

	public void setManagerialName(String managerialName) {
		this.managerialName = managerialName;
	}

	public String getWorkerName() {
		return workerName;
	}

	public void setWorkerName(String workerName) {
		this.workerName = workerName;
	}

	public String getWorkerCard() {
		return workerCard;
	}

	public void setWorkerCard(String workerCard) {
		this.workerCard = workerCard;
	}

	public String getDisclosurePersonSignature() {
		return disclosurePersonSignature;
	}

	public void setDisclosurePersonSignature(String disclosurePersonSignature) {
		this.disclosurePersonSignature = disclosurePersonSignature;
	}

	public Date getDisclosureDate() {
		return disclosureDate;
	}

	public void setDisclosureDate(Date disclosureDate) {
		this.disclosureDate = disclosureDate;
	}

	public String getEntireContent() {
		return entireContent;
	}

	public void setEntireContent(String entireContent) {
		this.entireContent = entireContent;
	}

	public Date getUpdateDate() {
		return updateDate;
	}

	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}

	@Override
	public String toString() {
		return "{" +
				"id=" + id +
				", projectId=" + projectId +
				", educationUndertakingId=" + educationUndertakingId +
				", educationUndertakingName='" + educationUndertakingName + '\'' +
				", managerialId=" + managerialId +
				", managerialName='" + managerialName + '\'' +
				", workerName='" + workerName + '\'' +
				", workerCard='" + workerCard + '\'' +
				", disclosurePersonSignature='" + disclosurePersonSignature + '\'' +
				", disclosureDate=" + disclosureDate +
				", entireContent='" + entireContent + '\'' +
				", updateDate=" + updateDate +
				'}';
	}
}
